style.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #board {
  2. padding: 25px 32px 32px 32px;
  3. h1 {
  4. font-size: 22px;
  5. margin-bottom: 20px;
  6. }
  7. // 검색 조건
  8. .list-header, .list-footer {
  9. select, input[type="search"], input[type="radio"] {
  10. height: 34px;
  11. }
  12. input[type="radio"] {
  13. position: absolute;
  14. opacity: 0;
  15. pointer-events: none;
  16. }
  17. a, button {
  18. line-height: 34px;
  19. padding: 0 15px;
  20. }
  21. }
  22. // 상단 제어 버튼
  23. .list-header {
  24. display: grid;
  25. grid-template-columns: 1fr auto auto;
  26. gap: 7px;
  27. align-items: end;
  28. section:first-child {
  29. flex: 1 1 auto;
  30. min-width: 0;
  31. }
  32. article {
  33. overflow: hidden; // 넘치는 애들은 숨김
  34. white-space: nowrap; // 줄바꿈 방지
  35. text-overflow: ellipsis; // 필요 시 말줄임
  36. display: flex;
  37. gap: 0.5rem;
  38. ul {
  39. display: flex;
  40. gap: 0.5rem;
  41. li {
  42. flex-shrink: 0;
  43. label {
  44. display: block;
  45. line-height: inherit;
  46. padding: 0.25rem 0.75rem;
  47. background: #f1f1f1;
  48. border-radius: 6px;
  49. white-space: nowrap;
  50. cursor: pointer;
  51. &:hover, &:focus {
  52. color: #c7511f;
  53. background: #e1e1e1;
  54. text-decoration: underline;
  55. }
  56. &.active {
  57. background: #000;
  58. color: #f1f1f1;
  59. }
  60. }
  61. }
  62. }
  63. }
  64. }
  65. // 하단 제어 버튼
  66. .list-footer {
  67. display: grid;
  68. grid-template-columns: 1fr auto;
  69. > section:first-child > form {
  70. display: flex;
  71. align-items: center;
  72. gap: 7px;
  73. }
  74. }
  75. }